package cn.edu.hunau.basic.day02;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-07-29 11:21:29
 */
public class MathOpreationTest {

    @Test
    public void test01() {
        int a = 2;
        int b = 3;
        System.out.println(a / b);//0
        int c = 1;
        double d = 0.1;
        System.out.println(c / d);//10.0
    }

  //shift+alt+ctrl+L
    @Test
    public void test02() {
        System.out.println(11 % 3);
        System.out.println(10 % 3);
        System.out.println(9 % 3);
        System.out.println(8 % 3);
        System.out.println(7 % 3);
        System.out.println(6 % 3);
        System.out.println(5 % 3);
        System.out.println(4 % 3);


    }
}
